#include<stdio.h>
int main()
{
	int i,n;
	FILE*fp;
	fp=fopen("temp","w+");
	for(int i=1;i<=10;i++)
	{
		fprintf(fp,"%3d",i);
	}
	rewind(fp);
	for(int i=0;i<5;i++)
	{
		fscanf(fp,"%d",&n);
		printf("%d",n);
	}
	fclose(fp);
}
